

<!DOCTYPE html>
<html >
<head>
  <meta charset="utf-8">
  <title>组织架构管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${basePath!}/genius/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="${basePath!}/genius/style/admin.css" media="all">
</head>
<style>
.ew-tree-table-group .ew-tree-table-box {
    overflow: auto;
    max-height:905px;
}
.layui-nav .layui-this::after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed::after {background:rgba(0,0,0,0);}
  	/* 防止下拉框下拉值被遮盖*/
	.layui-table-cell {
	/* overflow: visible; */
	}


	/* 调整高度 */
	td .layui-form-select{
	margin-top: -10px;
	margin-left: -15px;
	margin-right: -15px;
	}
	
	.divSelect{
	margin-top: -8px;
	margin-left: -15px;
	margin-right: -13px;
	margin-bottom: -10px;
	}
	
        /* 设置下拉框的高度与表格单元相同 */
    td .layui-table-input{
		margin-top: -10px;
		margin-left: -15px;
		margin-right: -15px;
	}
	td[data-field="supervisor"] .layui-table-grid-down { 
	display: none !important; }
</style>
<body style="overflow: hidden;">

  <div class="layui-fluid">   
    <div class="layui-card">
      
      <div class="layui-card-body">
      <@shiro.hasPermission name="590306df5ced45e2a3fe01e0a478ca3e">
      	<button class="layui-btn " shiro:hasPermission="user:create" data-type="add"><i class="layui-icon layui-icon-add-circle "></i> 新增</button>
	  </@shiro.hasPermission>
	  <@shiro.hasPermission name="4df293e1919744cebeeea9c36bf5914f">
      	<button class="layui-btn layui-btn-normal"  data-type="edit"><i class="layui-icon layui-icon-edit "></i> 编辑</button>
	   </@shiro.hasPermission>
	   <@shiro.hasPermission name="9f04f3bcf5ce4564bc0e7bd22053b175">
      	<button class="layui-btn layui-btn-warm" data-type="batchdel"><i class="layui-icon layui-icon-delete "></i> 删除</button>
	   </@shiro.hasPermission>
	   <button class="layui-btn layui-btn-normal"  data-type="editUser"><i class="layui-icon layui-icon-edit "></i> 所属人员</button>
	   
        <table id="LAY-group-list" lay-filter="LAY-group-list"></table> 
         <script type="text/html" id="statusTpl">
          {{#  if(d.status == '1'){ }}
            		<span  style="color:green">启用</span>
          {{#  } else { }}
            <span  style="color:#ddd">禁用</span>
          {{#  } }}
        </script>
      </div>
    </div>
  </div>
<!-- 主管 -->
<script type="text/html" id="supervisorSelect">
	<div  id="{{'supervisor'+(d.LAY_INDEX)}}" tableIndex="{{d.LAY_INDEX}}" class="divSelect" name="supervisor" data-value="{{d.supervisor}}" >			
	</div>
</script>
 <script src="${basePath!}/genius/layui/layui.js"></script>  
  <script>
  layui.config({
    base: '${basePath!}/genius/' //静态资源所在路径
    ,host:'${basePath!}'//项目访问路径
  }).extend({
    index: 'lib/index' //主入口模块
    ,select:'/adminmanager/group/select'
  }).use(['index','select']);
  </script>
</body>
</html>

